interface FormItemProps {
  id?: string;
  userId?: string;
  /** 用于判断是`新增`还是`修改` */
  title: string;
  higherDeptOptions: Record<string, unknown>[];
  userName: string;
  realname: string;
  nickname: string;
  genderType: string;
  signature: string;
  password: string;
  confirmPassword: string;
  email: string;
  phoneNumber: string | number;
  isActive: boolean;
  parentId: string;
  organizationId: string;
  concurrencyStamp: string;
  dept?: {
    organizationId?: string;
    organizationName?: string;
  };
}
interface FormProps {
  formInline: FormItemProps;
}

interface RoleFormItemProps {
  userName: string;
  nickname: string;
  /** 角色列表 */
  roleOptions: any[];
  /** 选中的角色列表 */
  roleIds: Record<number, unknown>[];
}
interface RoleFormProps {
  formInline: RoleFormItemProps;
}

export type { FormItemProps, FormProps, RoleFormItemProps, RoleFormProps };
